﻿#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
class Date {

	// 1.⽆参构造函数
	Date()
	{
		_year = 1;
		_month = 1;
		_day = 1;
	}
	// 2.带参构造函数
	Date(int year, int month, int day)
	{
		_year = year;
		_month = month;
		_day = day;
	} 
	// 3.全缺省构造函数
		/*Date(int year = 1, int month = 1, int day = 1)
		{
		_year = year;
		_month = month;
		_day = day;
		}*/
	public :
			void Print()
		{
			cout << _year << "/" << _month << "/" << _day << endl;
		}
private:
	int _year;
	int _month;
	int _day;
};
int main()
{
	cout << "hello world" << endl;
	 
	return 0;
}
